﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;

namespace MvcWiki.Test.ViewModel
{
    public class WikiPageViewModelFacts
    {
        [Fact]
        public void Exists()
        {
            new MvcWiki.ViewModel.WikiPageViewModel();
        }

        [Fact]
        public void Has_HasContent_Property()
        {
            var wikiPageViewModel = new MvcWiki.ViewModel.WikiPageViewModel();

            bool hasContent = wikiPageViewModel.HasContent;
        }

        [Fact]
        public void Has_Content_Property()
        {
            var wikiPageViewModel = new MvcWiki.ViewModel.WikiPageViewModel();

            string content = wikiPageViewModel.Content;
        }

        [Fact]
        public void Has_Name_Property()
        {
            var wikiPageViewModel = new MvcWiki.ViewModel.WikiPageViewModel();

            string name = wikiPageViewModel.Name;
        }

        [Fact]
        public void Has_Namespace_Property()
        {
            var wikiPageViewModel = new MvcWiki.ViewModel.WikiPageViewModel();

            string @namespace = wikiPageViewModel.Namespace;
        }

        [Fact]
        public void Has_Revision_Property()
        {
            var wikiPageViewModel = new MvcWiki.ViewModel.WikiPageViewModel();

            string revision = wikiPageViewModel.Revision;
        }

        [Fact]
        public void Has_Revisions_Property()
        {
            var wikiPageViewModel = new MvcWiki.ViewModel.WikiPageViewModel();

            IDictionary<string, string> revisions = wikiPageViewModel.Revisions;
        }
    }
}
